package com.wanmait.cookBook.vo;

import java.sql.Timestamp;

public class Diary {
	private int id;
	private Userinfo userinfo;
	private String diaryName;
	private String diaryContext;
	private boolean publishState;
	private boolean showState;
	private boolean enable;
	private Timestamp publishTime;
	public Timestamp getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Timestamp publishTime) {
		this.publishTime = publishTime;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Userinfo getUserinfo() {
		return userinfo;
	}
	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}
	public String getDiaryName() {
		return diaryName;
	}
	public void setDiaryName(String diaryName) {
		this.diaryName = diaryName;
	}
	public String getDiaryContext() {
		return diaryContext;
	}
	public void setDiaryContext(String diaryContext) {
		this.diaryContext = diaryContext;
	}
	public boolean isPublishState() {
		return publishState;
	}
	public void setPublishState(boolean publishState) {
		this.publishState = publishState;
	}
	public boolean isShowState() {
		return showState;
	}
	public void setShowState(boolean showState) {
		this.showState = showState;
	}
	public boolean isEnable() {
		return enable;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
	
	
}
